<%@ page isELIgnored="true" %>

<script id="siteinfo_tpl" type="text/x-blacktea-template">

	<div style="width: 50%; border: 0px solid blue; padding: 20px; margin: 20px;">
		<div id="site-avatar" style="margin: 0px; padding: 0px;">
	   	<img src="http://hotwebproxy.appspot.com/avatar?peer=${site.id}&cid=${fn:cid}&tag=avatar"  style="float: left; height: 96px; width: 96px; margin: 0px 20px 20px 0px; padding: 0px;" />
	   	</div>
		<span id="site-name" style="font-weight: normal; font-size: x-large;">${site.name}</span><br />
		<span id="site-id" style="font-weight: bold;">${site.id}</span> <br /><br />
	   	<span id="site-message" style="font-weight: bold;">${site.message}</span>
	</div>

</script>

<script type="text/javascript">
//cdata
function formatSiteInfo(d) {
	var tid = 'siteinfo_tpl', fn = { 
		cid: cdata.cid 
	};
	return blacktea(tid)(d, fn);
}
</script>